<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include virtual="/Common/MD5.asp" -->
<!--#include file="Member_Inc.asp" -->

<%

If Request.ServerVariables ("Request_Method")="POST" Then
	'禁止从网站外部提交数据
	Call Deny_OutSiteSubit()

	Call Member_Edit()

Else
	Call Get_Member_Info()
End If

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/2010admin/css/default.css" type="text/css" rel="stylesheet">
<title><%=web_title%></title>
<script language="javascript" src="/2010admin/js/validator.js"></script>
<script language="javascript" src="/js/jquery.js"></script>
<script language="javascript" src="js/info_query.js"></script>
</head>
<body >
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="5"></td>
  </tr>
  <tr>
    <td width="100%" align="center">
      <table border="0" width="98%" cellSpacing="0" cellPadding="0">
        <tr>
          <td width="*" align="center" valign="top">
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">管理导航</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="20">&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="userlist"><a href="Member_Query.asp">用户列表</a></span></td>
                    </tr>
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0">
              <tr>
                <td width="100%" height="5"></td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">修改用户信息</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0" class="tablesh">
                  <form name="form" method="post" action=""  onSubmit="return Validator.Validate(this, 2)">

                    <tr>
                      <td height="25">用户类型</td>
                      <td><%=Member_Type %></td>
                    </tr>

                    <tr>
                      <td height="25">用户名</td>
                      <td><%=UserName%>
					  </td>
                    </tr>
                    <tr>
                      <td width="80" height="25">注册时间</td>
                      <td width="*"><%=Reg_Date%>
					  </td>
                    </tr>
                    <tr>
                      <td width="80" height="25">注册IP</td>
                      <td width="*"><%=Reg_IP%></td>
                    </tr>
					<tr>
                      <td width="80" height="25">最近登录时间</td>
                      <td width="*"><%=Last_LoginDate%></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">最近登录IP</td>
                      <td width="*"><%=Last_LoginIP%></td>
                    </tr>

					<% If Member_Type="个人" Then %>
                    <tr>
                      <td width="80" height="25">真实名称</td>
                      <td width="*"><%=TrueName%></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">邮件</td>
                      <td width="*"><%=Email%>
					  </td>
                    </tr>
					<tr>
                      <td width="80" height="25">联系电话</td>
                      <td width="*"><%=Tel%></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">年龄</td>
                      <td width="*"><%=Age%></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">性别</td>
                      <td width="*"><%=Sex%></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">现住地</td>
                      <td width="*"><%=Address%></td>
                    </tr>
					<% Else %>
                    <tr>
                      <td width="80" height="25">企业名称</td>
                      <td width="*"><%=Corp_Name%></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">邮件</td>
                      <td width="*"><%=Email%>
					  </td>
                    </tr>
					<tr>
                      <td width="80" height="25">联系电话</td>
                      <td width="*"><%=Tel%></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">地址</td>
                      <td width="*"><%=Address%></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">营业时间</td>
                      <td width="*"><%=Open_Time%></td>
                    </tr>
					<% End If %>
                    <tr>
                      <td height="25">是否锁定</td>
                      <td><% MyRadioList "Locked","1,0","是,否",Locked %></td>
                    </tr>
                    <tr>
                      <td height="25">密码</td>
                      <td><input type="text" name="password" size=20 maxlength="10">留空则为不修改</td>
                    </tr>

                    <tr>
                      <td height="25">&nbsp;</td>
                      <td>
					  <input type="submit" name="submit" value="提交" class="button">&nbsp;<input type="reset" name="reset" value="取消" class="button">
					  <INPUT NAME="UserID" TYPE="hidden" id="UserID" value="<%=UserID%>">
					  
					  </td>
                    </tr>

                  </form>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" height="5"></td>
  </tr>
</table>
</body>
</html>

<%
Call conn_close()
%>

